package com.jxd.project.absence.service.impl;

import com.jxd.project.absence.dao.IPreMenuDao;
import com.jxd.project.absence.model.PreMenu;
import com.jxd.project.absence.service.IPreMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName PreMenuServiceImpl
 * @Description TODO
 * @Author 李杨
 * @Date 2025/10/12 14:44
 * @Version 1.0
 */
@Service
public class PreMenuServiceImpl implements IPreMenuService {
    @Autowired
    private IPreMenuDao menuDao;

    @Override
    public List<PreMenu> getMenu(String userid) {
        return menuDao.getMenu(userid);
    }
}
